<div class="form2">
  	<form method="post" action="{:Addons::adminUrl('saveConfig')}">
    <dl class="lineD">
    	<dt>启用的短网址服务：</dt>
    	<dd>
			<input type="radio" name="shorturlapi" value="0" <eq name="shorturlapi" value="0">checked=checked</eq> />关闭		
			<input type="radio" name="shorturlapi" value="sina" <eq name="shorturlapi" value="sina">checked=checked</eq> />t.cn
			<input type="radio" name="shorturlapi" value="bitly" <eq name="shorturlapi" value="bitly">checked=checked</eq> />bit.ly
			<input type="radio" name="shorturlapi" value="google" <eq name="shorturlapi" value="google">checked=checked</eq> />goo.gl
			<input type="radio" name="shorturlapi" value="baidu" <eq name="shorturlapi" value="baidu">checked=checked</eq> />dwz.cn
			<input type="radio" name="shorturlapi" value="local" <eq name="shorturlapi" value="local">checked=checked</eq> />本地URL
			<p>请对照相应选项，填写正确的apikey</p>
    	</dd>
    </dl>
    <dl class="lineD">
    	<dt>t.cn AppKey：</dt>
    	<dd>
			<input type="text" name="sinakey" value="{$sinakey}" style="width:400px" />
			<p>请输入新浪应用的AppKey</p>
			<p>申请地址：<a target="_blank" href="http://open.weibo.com/connect">http://open.weibo.com/connect</a> 申请后，找到apikey</p>
			<p>开发文档：<a target="_blank" href="http://open.weibo.com/wiki/index.php/Short_url/shorten">http://open.weibo.com/wiki/index.php/Short_url/shorten</a></p>
    	</dd>
    </dl>
    <dl class="lineD">
    	<dt>bit.ly Login：</dt>
    	<dd>
			<input type="text" name="bitlylogin" value="{$bitlylogin}" style="width:400px" />
    	</dd>
    	<dt>bit.ly ApiKey：</dt>
    	<dd>
			<input type="text" name="bitlykey" value="{$bitlykey}" style="width:400px" />
			<p>请输入bit.ly的ApiKey和登录帐号account</p>
			<p>申请地址：<a target="_blank" href="http://bitly.com">http://bitly.com</a> 在此页面可以找到apikey</p>
			<p>开发文档：<a target="_blank" href="http://code.google.com/p/bitly-api/wiki/ApiDocumentation">http://code.google.com/p/bitly-api/wiki/ApiDocumentation</a></p>
    	</dd>
    </dl>
    <dl class="lineD">
    	<dt>goo.gl ApiKey：</dt>
    	<dd>
			<input type="text" name="googlekey" value="{$googlekey}" style="width:400px" />
			<p>请输入google的ApiKey (目前可以不用填任何信息)</p>
			<p>申请地址：<a target="_blank" href="https://code.google.com/apis/console">https://code.google.com/apis/console</a></p>
			<p>点左侧Services,拉到页面最底部，开启shorten api.</p>
			<p>点左侧API access,可以找到ApiKey.</p>
    	</dd>
    </dl>
    <dl class="lineD">
    	<dt>本地URL：</dt>
    	<dd>
			<input type="text" name="localurl" value="{$localurl}" style="width:400px" />
			<p>举例：要将 http://yourdomain/url/xxx 替换为 http://tsurl.cn/xxx </p>
			<p>请将http://tsurl.cn/xxx 的请求都转向到 http://yourdomain/shorturl.php?url=xxx</p>
    	</dd>
    </dl>
    <div class="page_btm">
      <input type="submit" class="btn_b" value="确定" />
    </div>
    </form>
</div>